//
//  ScrollViewCell.h
//  AmazingShopping
//
//  Created by Tan on 4/19/13.
//  Copyright (c) 2013 Tan Hoang. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ScrollViewCellDelegate <NSObject>

-(void)didSelectProduct:(NSInteger *)productID;

@end

@interface ScrollViewCell : UIView

@property (strong, nonatomic) NSString *name;
@property (strong, nonatomic) NSString *imagePath;
@property (nonatomic) NSInteger *productID;
@property (strong, nonatomic) NSString *price;

@property (strong, nonatomic) id<ScrollViewCellDelegate> delegate;
@property (strong, nonatomic) IBOutlet UIButton *viewButton;
@property (strong, nonatomic) IBOutlet UIImageView *imageView;
@property (strong, nonatomic) IBOutlet UILabel *nameLabel;
@property (strong, nonatomic) IBOutlet UILabel *priceLabel;
- (IBAction)viewButtonClicked:(id)sender;

@end
